package com.scse.bms.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.sql.Timestamp;

/**
 * @Title: RepositoryVO
 * @Author: 吴赠禹
 * @Date: 2021/3/4 14:41
 * @Version: 1.0
 * @Description: TODO
 */

@Getter
@Setter
@ToString
public class RepositoryVO {

    private Integer id;
    private String title;
    private String author;
    private String press;
    private String pressTime;
    private String description;
    private String src;
    private String img;
    private String size;
    private String isFree;
    private String ISBN;

    public RepositoryVO() {
    }

    public RepositoryVO(String title, String author, String press, String pressTime, String description, String src, String img, String size, String isFree) {
        this.title = title;
        this.author = author;
        this.press = press;
        this.pressTime = pressTime;
        this.description = description;
        this.src = src;
        this.img = img;
        this.size = size;
        this.isFree = isFree;
    }

    public RepositoryVO(String title, String author, String press, String pressTime, String description, String src, String img, String size, String isFree, String ISBN) {
        this.title = title;
        this.author = author;
        this.press = press;
        this.pressTime = pressTime;
        this.description = description;
        this.src = src;
        this.img = img;
        this.size = size;
        this.isFree = isFree;
        this.ISBN = ISBN;
    }
}
